import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('@/views/home.vue'),
  },
  {
    path: '/vue2',
    name: 'Vue2',
    component: () => import('@/views/vue2.vue'),
  },
  {
    path: '/webvue2',
    name: 'Webvuw2',
    component: () => import('@/views/webvuw2.vue'),
  }
]

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
})

export default router